LINQ query on a DataTable C#

105

LINQ query on a DataTable C# -

var results = from myRow in myDataTable.AsEnumerable()
where myRow.Field<int>("RowNo") == 1
select myRow;

Comments

Submit
0 Comments